package com.ltw.playit.common.utils;

import org.apache.commons.codec.digest.DigestUtils;

public class WebUtils {
	
	public static String encrypt(String data, String salt) {
		// 可以更换算法:sha512Hex
		return DigestUtils.md5Hex(data + "{" + salt + "}");
	}

}
